// util.js

var Util = {};

Util.isLeftClick = function(event) {
	return event.button == 0 && Util.noKeyModifiers(event);
};

Util.noKeyModifiers = function(event) {
	return !event.ctrlKey && !event.shiftKey && !event.altKey && !event.metaKey;
};
